import {request} from '@/utils/request'
//获取流程图  wfInstId
export function wpimage(param) {
  return request({
    url: '/wp/image',
    method: 'post',
    data: param,    
  })
}



//终止（作废）流程 wfInstId  instNodeId  word
export function wpoutWf(param) {
  return request({
    url: '/wp/outWf',
    method: 'post',
    data: param,    
  })
}

//业务驱动 双击节点获取信息  参数 wpInstNodeId
export function wpmessage(param) {
  return request({
    url: '/wp/message',
    method: 'post',
    data: param,    
  })
}

//获取回退信息  参数 wpInstNodeId
export function wpgetBack(param) {
  return request({
    url: 'wpgetBack',
    method: 'post',
    data: param,    
  })
}

//回退计划  参数 info
export function wpback(param) {
  return request({
    url: 'wpback',
    method: 'post',
    data: param,  
    type:2
  })
}


